<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ManagerRegistration
 *
 * @author jhonny
 */
class ManagerRegistration {
    public function registrar(RegistrationVO $registration){
        if($this->userNameIsValid($registration->getUser())){
            $userLogin = new UserLogin();
            $userLogin->setRegistrationVO($registration);
            $userLogin->setUidMailRegistration($this->generarUIDMailRegistration());
        }
    }
    /**
     *
     * @param String $userName
     * @return Boolean $valid
     */
    public function userNameIsValid(String $userName){
        $valid = Boolean.TRUE;

        return $valid;
    }
    public function generarUIDMailRegistration(){
        $uid;
        return $uid;
    }
}
?>
